package com.szxy;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @Author: zwz
 * @Date:2020/7/14 15:40
 * @Description:com.szxy
 * @Version:1.0
 **/
@Service
public class TestService {

    /**
     * 链路资源
     * @return
     */
    @SentinelResource("hello")
    public String hello() {
        return "Hello";
    }

}
